<%@ page import="java.time.LocalDate" %><%--
  Created by IntelliJ IDEA.
  User: xwj32
  Date: 2023-05-19
  Time: 12:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <jsp:include page="include/mangerheadtag.jsp"/>
    <title>Title</title>

</head>
<body>
<jsp:include page="include/head.jsp"/>
<jsp:include page="include/menu.jsp"/>
<div class="container mt-3" style="margin-left: 300px;margin-top: 100px">
  <h2 style="margin-top: 10px"><img src="images/img/药箱.png">预约取药</h2>
  <form action="<%=request.getContextPath()%>/medicineRecordServlet" method="get">
    <input type="hidden" name="action" value="ReservationInformation">
    <div class="mb-3 mt-3">
      <label for="name">姓名：</label>
      <input type="text" class="form-control" id="name" placeholder="请输入姓名" name="name">
    </div>
    <div class="mb-3">
      <label for="phonenumber">电话号码：</label>
      <input type="text" class="form-control" id="phonenumber" placeholder="请输入电话号码" name="phonenumber">
    </div>
    <div class="mb-3">
      <label for="IdNumber">身份证号：</label>
      <input type="text" class="form-control" id="IdNumber" placeholder="请输入身份证号" name="IdNumber">
    </div>
    <p>性别：<input type="radio" class="form-check-input" id="man" name="sex" value="男" checked>
      <label class="form-check-label" for="man">男</label>
      <input type="radio" class="form-check-input" id="woman" name="sex" value="女">
      <label class="form-check-label" for="woman">女</label>
    </p>
    <div>
      <label for="birthday">出生日期</label>
      <input type="date" id="birthday" name="birthday" class="form-control" value="<%= LocalDate.now() %>">
      <div>
        <button type="submit" class="btn btn-primary" style="margin-top: 10px;">选择药品</button>
      </div>
    </div>
  </form>
</div>

</body>
</html>
